//
//  HomeCommunityListApi.m
//  jingdongfang
//
//  Created by LJL on 2018/5/25.
//  Copyright © 2018年 BOE. All rights reserved.
//

#import "HomeCommunityListApi.h"

@implementation HomeCommunityListApi
- (NSString *)requestUrl {
    return @"find/topicCommunicationList";
}

- (id)requestArgument {
    return @{
             @"lastTimeDate": _lastTimeDate ? :@"",
             @"uid":[IGUser getUid],
             @"pageNum":_pageNum,
             @"pageSize":_pageSize,
             @"type":_type
             };
}
@end

@implementation HomeCommunityModel
+ (JSONKeyMapper *)keyMapper
{
    return [[JSONKeyMapper alloc]
            initWithModelToJSONDictionary:@{
                                            @"cid":@"id",
                                            }];
}
+ (BOOL)propertyIsOptional:(NSString *)propertyName {
    return YES;
}
@end

@implementation HomeCommunityListModel

+ (BOOL)propertyIsOptional:(NSString *)propertyName {
    return YES;
}

@end

@implementation HomeCommunityListResp

@end

